/*
 * Copyright 2008, 2009 Kobi Krasnoff
 * 
 * This file is part of "Catch Falling Coins".
 *
 * "Catch Falling Coins" is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * "Catch Falling Coins" is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with "Catch Falling Coins".  If not, see <http://www.gnu.org/licenses/>.
 *
 */

import javax.microedition.lcdui.Image;


public class GoldCoinSprite extends BasicObjectSprite {

	public GoldCoinSprite(Image img)
	{
		super(img);
		this.setImage("/images/spinning_coin_gold.png", 16, 16);
	}
	
	public void fall() {
		this.setPosition(this.getX(), this.getY() + 1);

	}
	
	public void endFall()
	{
		
	}
	
	public int returnBasicObjectSpriteType()
	{
		return BasicObjectSpriteFactory.GOLDCOIN_SPRITE;
	}
	
	

}
